<?php
/**
 * 核心Db框架
 * @author sunhaoqiang(shqdev@163.com)
 * @time: 2019-08-25 16:38
*/
namespace config;

use script\Conf;

class Db extends Conf
{
    protected $data = [
        'env' => [
            'host' 		=> '127.0.0.1',
            'user' 		=> 'root',
            'pass' 		=> 'root',
            'dbname' 	=> 'spider',
            'port' 		=> 3306,
            'charset' 	=> 'utf8',
            'prefix'    => 'topic_',
        ],
        'dev' => [
            'host' 		=> '127.0.0.1',
            'user' 		=> 'root',
            'pass' 		=> 'root',
            'dbname' 	=> 'spider',
            'port' 		=> 3306,
            'charset' 	=> 'utf8',
            'prefix'    => 'topic_',
        ]
    ];
}